/**
 *
 */
package asa;

/**
 * 	 "mova" Expr

 * @author José
 *
 */
public class MovaActorStat extends ActorStat {

	public MovaActorStat(Expr expr) {
		this.expr = expr;
	}

    @Override
	public void genJava(PWInterface pw) {
		genJava(pw, null);
	}

	@Override
	public void genJava(PWInterface pw, Env env) {
    	pw.printIdent("move(");
    	expr.genJava(pw);
    	pw.println(");");
    }

	private Expr expr;

}
